Fix date filter