Fixed Board history duplication problem when adding a new board to
history
Now Minimax is throwing errors.