Query sucessfully searches by date range and percent range