Added FlattenFilter