title: Neo4j Movie Tutorial query
body: <p>I am looking at the Neo4j movie sample project:
  <a href="https://github.com/neo4j-examples/movies-java-spring-data-neo4j-4" rel="nofollow">https://github.com/neo4j-examples/movies-java-spring-data-neo4j-4</a></p>
  
  <p>One of the examples recommends new co-actors for Tom Hanks i.e.
  Find actors that Tom Hanks hasn't yet worked with, but his co-actors have.</p>
  
  <p>The Query:</p>
  
  <pre><code>MATCH (tom:Person {name:"Tom Hanks"})-[:ACTED_IN]-&gt;(m)&lt;-[:ACTED_IN]-(coActors),
        (coActors)-[:ACTED_IN]-&gt;(m2)&lt;-[:ACTED_IN]-(cocoActors)
  WHERE NOT (tom)-[:ACTED_IN]-&gt;(m2)
  RETURN cocoActors.name AS Recommended, count(*) AS Strength ORDER BY Strength DESC
  </code></pre>
  
  <p>The top 3 results are:
  Recommended Strength
  Tom Cruise  5
  Zach Grenier    5
  Helen Hunt  4</p>
  
  <p>However Helen Hunt is returned in the list of Tom Hanks co-actors:</p>
  
  <pre><code>MATCH (tom:Person {name:"Tom Hanks"})-[:ACTED_IN]-&gt;(m)&lt;-[:ACTED_IN]-(coActors) RETURN coActors.name
  </code></pre>
  
  <p>AND Tom Hanks is returned in the list of Helen Hunt co-actors:</p>
  
  <pre><code>MATCH (tom:Person {name:"Helen Hunt"})-[:ACTED_IN]-&gt;(m)&lt;-[:ACTED_IN]-(coActors) RETURN coActors.name 
  </code></pre>
  
  <p>Is this a bug in Neo4j or in the query given in the tutorial? 
  If it is a bug in the query What is the correct query?</p>