The restricted changeset for a path should only show
modified paths that are either:
* exactly the same as the given path,
* the directories above
* the files and folders below the path, if the path is a directory
Before the fix, the restricted changeset for e.g.
`trunk/README` would also show `trunk/README.tracd`,
and conversely.