This query will solve the cartesian product issue but it will return the mutual nodes if any of the two nodes have some mutual nodes.
But how can this be changed as he asked, the query should return the relationship only if it is linked with all the ...