Delete node bug fix in new versions of neo4j

"500 Error: Question mark is no longer used for optional patterns - use OPTIONAL MATCH"