diff --git a/Dockerfile b/Dockerfile
index cd67ecf..599a10c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM node:10-alpine
+FROM node:23-alpine
RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app
WORKDIR /home/node/app
diff --git a/sbRestApiServer.js b/sbRestApiServer.js
index 78f33eb..d86c607 100644
--- a/sbRestApiServer.js
+++ b/sbRestApiServer.js
@@ -129,10 +129,14 @@ function returnResults(res, err, results, format, tsvFields) {
// Note that dates in DB are always GMT - hence are incorrect during BST period - hence the adjustment below
var dateTimeInCurrentTimeZone = dateFormat(new Date(result[entry]),'yyyy-mm-dd HH:MM');
row.push(dateTimeInCurrentTimeZone);
- } else if (entry === "nextflow_run_id" && result[entry] != null && result[entry] != undefined) {
- var nextFlowRunURL = "https://cloud.seqera.io/orgs/aexpress/workspaces/aexpress_workspace/watch/" + result[entry];
- var URLHTMLElelment = "" + result[entry] + "";
- row.push(URLHTMLElelment);
+ } else if (entry === "nextflow_run_id") {
+ if(result[entry] != null && result[entry] != undefined){
+ var nextFlowRunURL = "https://cloud.seqera.io/orgs/aexpress/workspaces/aexpress_workspace/watch/" + result[entry];
+ var URLHTMLElelment = "" + result[entry] + "";
+ row.push(URLHTMLElelment);
+ }else {
+ row.push("NA");
+ }
} else {
row.push(val);
}