Added more checks so that it will pick the correct shared server.
refs #6385
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=7bab200e4d6ebbc6bd969014cefa64b85f22e383
Author: Pradip Parkale <pradip(dot)parkale(at)enterprisedb(dot)com>
Modified Files
--------------
web/pgadmin/browser/server_groups/servers/__init__.py | 11 ++++++-----
web/pgadmin/browser/server_groups/servers/utils.py | 12 ++----------
2 files changed, 8 insertions(+), 15 deletions(-)