Is there any easy way to not have Gaia units convert to an AI

It’s a pretty important thing for scenarios, and despite having a great many hours of experience in the editor, I’m not sure if there is an easy way to not have Gaia units convert to an AI player that goes near them. Anyone know how to fix this?

I think I might have fixed it just by making a custom AI script.