Fix path exclusion with filter parameter