Make sure all the back pointers in EquippedShips and EquippedSquads are maintained so that cost calculations will work.