Remove unused variable in MetricFilter