Handle null when scan an not recognized barcode.