Consider the following sentence taken from Mathematica tutorial.
Changes to a notebook that only involve opening or closing cell groups will not cause the front end to ask you ...
According to my understanding when reading Toefl preparation books, the noun clause should immediately follow the noun to which the noun clause refers. If I apply this guidance, the sentence above will be decomposed as follows.
- Changes to a notebook will not cause the front end to ask you ...
- The notebook only involves opening and closing cell groups.
But the meaning from technical point of view becomes weird as the correct meaning should be as follows.
- Changes to a notebook will not cause the front end to ask you ...
- The changes only involve opening and closing cell groups.
What do you think about this? Is the quoted sentence grammatically wrong?