I'll explain it.
WindWaker Zelda and Ocarina of Time Zelda are TWO DIFFERENT ZELDAS.

Therefore, your logic is flawed.