Fix current iteration when iteration duration is zero