Correct bug in AlphaBeta