Fix bulk create action for creating 1 barcode

Even when we create only 1 barcode using the bulk create barcode action, the barcode is returned in an array of barcodes.