Fix bug in LotteryProcess::chooseWinner().