Added a check that ignores when a user tries to connect to themself.