diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/server/ServerFacade.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/server/ServerFacade.js
index 9b942f6316d8db0fc9d65f9e78d2f40ea0c49de4..dc018e24263c920b1e4683c571879461eab5483b 100644
--- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/server/ServerFacade.js
+++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/server/ServerFacade.js
@@ -378,12 +378,11 @@ function ServerFacade(openbisServer) {
 					} else{
 						var codes = [];
 						for(var idx=0; idx<results.length; idx++){
-							numeric_code = results[idx].code.substring(prefix.length);							
-							numeric_code = numeric_code.replace("_","");
+							numeric_code = results[idx].code.substring(prefix.length);
 							numeric_code = parseInt(numeric_code);
-							if(isNaN(numeric_code))
-								numeric_code = 1;
-							codes[idx] = numeric_code; 
+							if(!isNaN(numeric_code)) {
+								codes.push(numeric_code); 
+							}
 						}
 						codes = codes.sort(function (a, b) { 
 						    return a - b;