Fix string comparison in tag deletion

Classic string comparison fail :\

You'd think I'd have learned not to do this by now.