At higher rpm misses become less noticeable, the momentum carries it through.
I had this happen on a new bike. Filled up after work, by the time I go home it was running as you described.
Drained gas, put new in, fixed. Never have bought gas at that station since.