Fixed issue with all day events without an end date