Fixed missing update in ODE event handlers. When a RESET_STATE was triggered, event states for events not triggered in the same step were not updated properly. JIRA: MATH-950