Improved filter deduplication.