Fixing the credit card validator, which sometimes accepts letters as valid inputs