Debugging the MatchScore addScore function