#778 use all connection details when comparing connections