Embrace the Chaos

Swap the question "how do I stop this from breaking?" for "what do I do when this breaks?", because the gap you missed is structural, not a lapse in your analysis.