made it possible to use 'not' in graph_db