I have, too; I always try to put myself in their shoes. Sure it's irritating, but being a parent, you try to understand.
Same at the supermarket and restaurants- when a child is throwing a hum-dinger, I usually think- been there, done that, poor mom.