Fixed bug where tournamentId and userId was switched