execute_if_command: don't check past 2 command index