Fixed better error handling for illegal cypher queries, closes #107