cypher queries handle nil property values correctly

This solves https://github.com/andreasronge/neo4j/issues/342.