Thought provoking question..
Perhaps, the reason why a mistakenly accepted result does not lead to collapse of the edifice of mathematics is because mathematics is supported, not by a chain of reasoning, but by a dense network.
In other words, it has massive redundancy, like a building that continues to stand despite one bad brick.