Small bug fix in score model