Fix SortedLinearSet to ignore inserting a duplicated value.