respect pathFilters in references