Set: fix the Comparable instance so it works with runtime keys