Bugfix - sdo and lazyseqs do not mix

Flatten returns a lazyseq, which sdo does not do well with. This causes
problems when loading a long list of streams.