Fix date range.