Gaia Project: Fixed AI freezes

We fixed AI freezes caused by forming federations with this update.