Fix bug in user score sorting