Bugfix in glm scoring.