Added compatibility with neo4j 2.1.2