Ensure the 'From' date is less than or equal to the 'To' date.