Fix for case where parent node doesn't exist for non-ephemeral nodes