🐛BUG: Clean up duplicate Tags doesn't work

It doesn’t delete the duplicates. Maybe because they are not case-exact?

(Diving, diving)


It shows a “Duplicates” error.