Prevent 'from' date from being later than the 'to' date when populating the calendar.
Tests related to the calendar populate date range checks.