Fixing compaction filter bug