0d415baf95
COUNT(*) was counting own goals in the player's goal tally. Changed to SUM(CASE WHEN NOT is_own_goal THEN 1 ELSE 0 END) in all five places: topScorers, player, search players, Tournament.topScorers, and hatTricks. The HAVING clause for hat-tricks is also corrected. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>