Fixed an issue with NextIntervalEnd not being updated.