Added FlattenTerms to all transformations Requiring FlattenSyntax