Previously would break out of the loop that builds setConnected at the first manual/inbound connection. Replacing break with continue considers the rest of the nodes.
...
At least, that's what I think this does... Not sure what's an easy way to test this, and my C++ is definitely Rusty. :)