Bug fixing in findnodeneigh