Fixing the date range bits.