Bugfix NTree nearest neighbor