Removing duplicate values when updating EmailAddresses attribute.