fixes issue 'Multiple edges between two nodes from one RIN'