Fix previous cycling wraparound.