Fix date range