Place it at the point of discovery in a fail edit, after a short build-up with Sudden Suspense and before the reaction settles. Follow it with Oh My God Wow when the person finally understands the mistake, then cut to the next scene while the joke is still fresh.