Fix AddWorkgroupToPlannedStructure