prevent the same tag being selected twice