Allow support for ties in sets