I don't think it glitched, actually. I think it just doesn't kick in on turns the opponent faints, but since Pansage didn't go down in one hit, it activated.
--
http://i50.tinypic.com/23qx00.jpg
"First time I got punched in the face, I was like "oh no", then I was like "this is a story"."