Fix: better way to remove duplicate barcode in repair.sql