Fix error in edaBestImprovement class