Fix accidentally swapped RETRY_ACTION and NO_ACTION cases

We should retry the commands with disposition RETRY_ACTION
and proceed for those with disposition NO_ACTION rather than
vice versa.