Fix event insertion when processing more than one event for the current time.