Can no longer create duplicate barcodes when editing