Fix regression in detection a draw