Seems like an unreasonable expectation, sharke.
Here's my rationale, although it's admittedly conjecture:
When you delete a synth, you unload it completely. When you subsequently undo the deletion, you're actually re-inserting the synth and repeating all the behind-the-scenes stuff that implies. The synth is now a brand-new instance with no knowledge of its previous incarnation. The track, meanwhile, has no way of knowing that this new synth is a suitable substitute for the one it used to connect to. Although the new synth instance looks the same to you, it's doesn't look the same internally, where it's identified by an instance ID that's different from the original installation.
BTW, I've done exactly the same thing myself many times, accidentally deleting the wrong synth. That's why before starting any housekeeping (including deleting tracks or unused effects) the first step is to save the project. If, during the course of cleaning up, I make a boo-boo, I don't rely on Undo to save me. Instead, I close the project without saving and re-open it. Never fails, and has the added benefit of wiping out the undo history so I don't accidentally undo too far back - I've done that, too.