Restricted date search range so that start date does not exceed end date and vice versa.