Fixed "bugs" in barcodes that were intentionally added to make it easy to test. Note: 0000000000000 is a valid barcode.