Finds global node that has the correct local node as a branch.