Filtering dependency path