(maint) Fix passing filter set by const-ref instead of by value.

We should be passing this parameter by const-ref instead of by value.