pluto: Fixed comparison of connections, if marks are specified.