Add date selection in search query