network.api: fixed an error assigning parent nodes.
network.api: fixed an error assigning parent nodes.

fzadow/CATMAID,htem/CATMAID,fzadow/CATMAID,htem/CATMAID,htem/CATMAID,htem/CATMAID,fzadow/CATMAID,fzadow/CATMAID