Merging tags into categories, and wiping categories