[TAV-313] Issues with singleton output ports.

Certain rare cases of particular data within a singleton output port were
causing errors.