Fix a crashing bug in checkmate recognition. Fixes #11.