No need for fancy computer links to catch this. Immigration simply sees that new Taiwan departure stamp when they open your passport, together with the TWOV stamp and your boarding pass for Taipei flight.
Cue up that heart-pulsing theme from Midnight Express.
You can have a Taiwan exit stamp, and still connect somewhere else, but I'm happy to hear that our boy has come to his senses.