Fix Minor Transaction Logging Bugs