Fix order of operatins when receiving a CMD_MSG_CONFIRM