Add pathfilter to references