Don't re-calculate filter value three times