fixed handling of outgoing only or incoming only connection instances
with arrays.