Find behaviour about tree root

`find(1)` returns the starting point of the search when it fits the criteria.

This PR fixes the `path` event, which was never triggered on the root nodes.