Fix iterators handling.

Re-set key should not be revisited.