Fixed rewind issues with cachediterator