Fixing digest loops for complex filters.