Make the date filter work with dates, not only datetimes.