Fixed mint credit card validity check

Signed-off-by: Tom Wright <tom@inflatablecookie.com>