An outer join parent must be included in flatten, even if no table columns are used anywhere

This is because it causes more rows to appear, full of child nulls.

See new test for an example. Without this fix, only shipments is flattened, missing some in the count.