Fixed barcode selector only uses selected barcodes, but found newly intorduced bugs due migration to Spring MVC