Correctly pass filter to _addFilter