Fix paths filter.