[task] changed loop to an ImmutableSet copy
Merge pull request #140 from davidmoebius/OSNG-331_2

[task] changed loop to an ImmutableSet copy