While this is a completely pointless query, it does illustrate the point I am confused about. Consider the following pointless query:
MATCH p=(tom:Person {name:"Tom Hanks"})-[:ACTED_IN*2]-(:Person)
UNWIND [n IN nodes(p) WHERE n.name = 'Bill Paxton'] ...