Small fix in exception handeling for cypher_query

Fixed issue with TransactionError in cypher_query resulting in incorrect arguments getting passed to CypherException