Fixed primary equivalence classes, so that delimiter based sort keys with a delim in position 0 still work.