Fixed leaf count EC in InheritanceEnsemble.