Fixes issue in last commit, so removing a tag that has duplicate value of other tags only removes the correct one, not the others as well.
Fixes issue in last commit, so removing a tag that has duplicate value of other tags only removes the correct one, not the others as well.