#411: Fix the ean validator, thanks to @manish-in-java