Fixed a bug related to the returned score.