rebuilding left and right category ids for AssetCategory