Fix double elimination tournament bug and improve unexpected error reporting
Merge pull request #1096 from kotarou3/tournaments

Fix double elimination tournament bug and improve unexpected error reporting