Corrects an error in method : neighborNodes