Fixed position iterator

Fixed the position iterator. The key is not being stupid, and not
watching Star Trek while trying to do this.