Added a check for card type in hand.