Fix exceptions with empty end times in calendar events