Introduced in 4e7d08ff2c because the range-limited index value isn't kept in the same scope.
4e7d08ff2c