(#2807) - auto_compaction properly trims tree