I have the following sentence. (I asked several questions regarding it)
Otherwise, we should find another anchor within the page which has a common ancestor with the anchor under consideration which encloses the target section.
The bold text should be a relative clause for the "common ancestor", but it may be related to the "anchor under consideration".
How should I, in general, make such sentences with several relative clauses. where in the sentence each should be placed?