Fixed bug in Neo4j adapter introduced in 7d2f953d