Adding attributes to sets checks for attribute already existing in set