Fix compile issues in previous merge
DateRangeParam now correctly handles requests containing a single date