Detecting invalid date ranges n' stuff.