Bugfix in gbm scoring.