[FOLD] Fixes
* Fix flusing a tree with just one leaf
* Remove multiple filter->haveNode calls