Fixed when events are more than Int32.MaxValue away

At least, I think I have fixed it.