Fixed #17427 -- Removed dubious definition of connections equality.