Cleaning up tree visitors, fixing filter-projection, and starting to work on flatten
Trying to fix flatten projection precedence