Fix transaction recording.