don't crash when fromNode is 0 for some reason

(it was a cyberdisk)
Merge pull request #374 from hmaon/nodesel_crash

don't crash when fromNode is 0 for some reason