nodeserver: fix bug introduced in previous commit