Fun fact: prefiguration, a practice popular with anarchists, is essentially a form of refactoring rather than a rewrite.
Arguably the problem with Soviet/Maoist communism and the French Revolution also was that it merely replaced who's in charge rather than dismantling the system of someone being in charge (i.e. it focused on individuals, not systems). It's worth noting though that the French Revolution did end up creating a representative democracy eventually even if it took a detour of replacing the monarch with a number of different autocrats - much like Cromwell in the UK for that matter.
So I'd say the problem wasn't seeing flaws and wanting to replace the systems but thinking the flaws could be fixed without addressing the system in its entirety or looking at it from an actual systems theory point of view. Another fun fact: a lot of Nazis ended up back in positions of power in post-war Germany (both Germanies actually).