Fixed bug related to the model with the best score, closes #12