LPS-51059 avoid rebuilding tree for every category when deleting a group of categories (it was already ok for the children of a category)