Trying to exclude proper paths