Fix zariz_get_branch_parents_ids().