Fixed the move saving error that resulted in move being -1.