Fix internal _logaction_taken bug