Fixed cardType() to support passing card numbers as pure numbers.