Fixes [#31697] Tags menu items: impossible to delete the last 'Type'.