fixed issue with grep not returning correct barcodes