Changed validation method in order to prevent false positives on other 1D barcodes