You know this very same thing (without the flat part) happened to me - TWICE on my mountain bike. That seat bag just does NOT want to stay on. It's at best dangerous and at least annoying. I'm glad you didn't go down!