Thats why I am using two sets. The if tag checks if the tag is already contained