Tagging: fix deleting existing tags

Deleting was working only after adding a new tag.