Fix looping over filters.