Added special handling for all day events.