Fix: node points to wrong parenet

Trimming clang parser result causes wrong parent node, especially on last tree.

```
|
`--
  | - xxxxx (Don't trim this line otherwise parent node goes broken)
```