Fix invalid reference return in IndexedListIterator

Just stumbled upon this bug. I don't think it has any real significance right now, still it is an incorrect.