Fixing groupIterator.remove as that would cause concurrentModificationException on the groupMaps