Added barcode filtering code.