Fix inverted logic causing GraphTxn to incorrectly attempt a nested transaction

Backports a fixed inverted logic check that was already addressed on main onto the jena4 branch
1 file changed