When selling a support weapon structure, it remained included in a build palette update, thus disabling a rebuild directly afterwards. The problem was in a building enumeration function TechTree.GatherBuildables.