Someone points out that Archie's wrong, and although he won't actually say, "I was wrong," he does the right thing, or somehow fixes whatever his previous statements had screwed up.
Yeah, that is the part about his heart being in the right place. When he says and does bigoted things he doesn't mean to do anything wrong. The classic bully's excuse "I didn't mean nothin." Of course in real life the kind of stuff Archie did is not so easy to fix.