changes for if no options are selected then we display all records between dates.