bugfix: INSERT and DELETE statements in one query possible as long as
they are referencing the same graph and revision number