CSH-1451 Date range check and filter out the results sent. Bug due to elasticsearch