Ugly fix because of the "longest game" on ICC. A game with more than 256 moves. Thanks to Highland on ICC for triggering this.