Adds startNode/endNode to Cypher