Fix findMinimumLeaf