Fix gznt_rm_get_branch_parents_ids