Fixed functions in OrderedSet that sometimes delete from maps they are currently iterating through.
Fixed functions in OrderedSet that sometimes delete from maps they are currently iterating through.

brandonmbare/csbuild,brandonmbare/csbuild,brandonmbare/csbuild,brandonmbare/csbuild