Fixed a bug where the move enumerator would miss some moves.