Prevent removal of categories unless they have no tags