Fix date range extension