Fixed issues with chooseCard().