Fix member function for unbalanced set with depth+1 comparisons.