Manually find the parent node, if no ptr was given.