Fixed the output of multiple blank lines.

The lines appear to have been caused by threads that did not find a match.
Still have an issue with versioning as PSv3 and PSv4+ behave differently when
returning arrays from a workflow.