Fixed bug in computing next event time for semi-implicit event-driven steps