That’s a horrible one when it happens and it’s a damned if you do and damned if you don’t scenario that happens to officials, including myself every now and again.
You let one go and play the advantage and the next foul comes in, wait again, with no advantage and then you blow the whistle...