Stop parsing the array if value found in addUNique

Stop parsing the array if value is found in addUNique