Added check to make sure there was a start date before converting to time
Added check to see if post_date is less than end date