For each loop pending kill error

I am deleting actors in an array using foreachloop but its giving me tons of pending kill errors.
I tried an is valid node to check before running the destroy actor but it doesn’t seem to work.
What am I doing wrong here?

I think if you pull the IsValid off the child actor node rather than the Array Element directly it will solve your issue.

Hey that worked perfectly, why didn’t I think of that before.
Cheers