fixes wsod on import when an event has an end date but no time