Added date search functionality