HashSetIterator and SortedSetIterator now use a ValueIterator to simplify their behavior.