Fixed bug with adding connections between new ports.