Implemented skipping of a planet in UpgradeBuildings.