Avoid creating duplicate sets