Fix for lockingiterator