derekovecs: handle the case when there is no 2nd model for comparison
diff --git a/w2v-server.pl b/w2v-server.pl
index 2ec8c40..a8cb8d0 100755
--- a/w2v-server.pl
+++ b/w2v-server.pl
@@ -845,6 +845,9 @@
   knn *nbs = NULL;
   int N = 1000;
 
+  if(merged_end == 0)
+    result = "[]";
+    
   if(result != NULL)
     return result;