Fix #386, clear empty arrays from allConnections