Bugfix for BuildingMarket refill.