791
791
leaf.add_join_context(next_model, working_model._inherits[next_model._name], 'id', working_model._inherits[next_model._name])
795
795
ids2 = to_ids(right, working_model, context)
796
796
dom = child_of_domain(left, ids2, working_model)
797
797
for dom_leaf in reversed(dom):