filter by date range now works