filter by date is now working