Yeah, that part was the whole point of the flashback.
Nice episode as a whole. I just really hope they give a plausable explanation to how Sasuke is going to get him out of this mess, cuz he's not going to die here, let's face it .

Hopefully Deidara will really die this time. I won't forgive it if he dug himself again or something. Suicide attacks have that name for a reason.