fix composite keys of transaction logs