Fixed bug in user score calculation.