Fix crash when deck of card is empty.