Fixed OrderedSet iterator remove.