Fix invalid reference return in IndexedListIterator