There should be a button for deleting all nodes in the query builder
Bug watches keep track of this bug in other bug trackers.