Relaxed exact-class-match constraint for SelfComparable