Made a workaround for multiple node db insertion, for both parents and children.