Don't project non list elements in flattening operator

There was a similar fix for wildcards.  The flattening operator
needs this behavior as well.