Fixed a crash when in BuildingInfluence when trying to recover husks

as desribed in https://github.com/OpenRA/OpenRA/issues/5793 and https://github.com/OpenRA/OpenRA/issues/5638.