Fix: "building" free buildings didn't update the cache correctly