Stopped collection from being modified during foreach loop

Improves multiclamp device stability.