Fixed error related to ship squares having a reference to a ship but not passing that ref