Removes nested categories.