ISPN-2537 LockCleanupStateTransferTest fails randomly

LockCleanupStateTransferTest assumed that once the tx is done on one
remote node, it's done on all of them (and on the originator as well).
ISPN-2821 Correct Query Sort tests