Fix bug that caused minimax to only evaluate the top level