Deleting a category from the hierarchy tree