Fixed two bugs in the transaction log output.