Refactor IdSeekIterator