Fix to prevent a null check from crashing the running node server.