Support YYYY/YYYYMM limits in term-based date ranges