fix case when one path is the same as or a descendant of the other
fix case when one path is the same as or a descendant of the other

it's not a common case but might as well make it work

yellcorp/dupescan