Fixed duplicates in connect dialog

Fixed duplicates in connect dialog - unable to test because I cant reproduce this at will