Hi.
I believe that get next child is working, BUT since you are destroying the children the index will get messed up.
you could use a Array List and add the objects when you spawn and then use Array List Get Next and destroy.
once all destroy, do a array list clear.