Refactor checking of IBAN numbers.