Added logic to strip dashes and spaces in scanned barcodes