Corrected command_logs bug