Fixed a minor bug with the barcode pattern parsing.