fixed bugged query with incorrect cypher syntax