Fix error with GetMoves.