(ITS#8323) LMDB nested txn bugs