Check for end_dt before comparing to start_dt