Fixing a bug with array-based filters.