Fixes bug with earliest_event_time and calendar render.