issue #1099: do not fail if general-graph.remove is used inside a transaction