ancestor_ids should be not null