I've been in a similar situation, and I learned one thing really quick.
When traffic is moving slow, there usually is a reason for it. Hang back, relax, and pass when you've positively determined that you can.
It sounds pedantic, and it is actually more to remind me, than to convince you.
Glad you made it out in one piece.