Fixing an edge case when the credit card inputs too many values