Some nodes have a referer, but it's not the full URL (with path) of the parent, making it harder to attach at the right place.
This release doesn't completely fixes it (as we need to rely on guessing), but it attaches the node to the furthest HTML document int he tree that is loaded from that domain. It should make the tree somewhat better, but we will see in practice.
Full Changelog: v1.36.0...v1.36.1