Write a query to find all actors who satisfy the following conditions:
- The actor had played together with Tom Hanks in a movie that was released before or in 1995, AND
- The actor has not played together with Tom Hanks in a movie that was released after 1995.
Eleven actors in the graph satisfy the above conditions - 11 records returned in total.
The data set for this query is the default Movie database in Neo4j.