Corrected score calculation.