Ticket #263: Fixed connection vs group copy-paste bug.