fix batching protection against transactions settled in the meantime, RT#7905