Flattened view fix.

... performance, performance... :-)