Correct a print issue from changing filterMetrics to a generator