Fix for luhn not generating correct check digit