Fix inverted test for onePhaseCommit to tell if we're running the current transaction.
Fix inverted test for onePhaseCommit to tell if we're running the
current transaction.

Handle null currentXids for prepared transactions.

element-doo/postgresql-jdbc,element-doo/postgresql-jdbc