Add extra end check on LimitIterator.