Search is now working with date range