Game actors in array are not following instructions in For Each Loop. (Activate and Deactivate Issues)

There is the picture, in better quality.

Wouldn’t doing ForEach loops like that be costly?