Added a query to search by date range, use this in multiple user stories.