Small fix to the dot score calculation