Another attempt at calculating filtered PDFs