Now the search query is by date range.