Do it now, or do it right
Also happens in a non-consulting/in-house scenario especially when rapidly developing apps for individuals, a group, or client that "needs it now". Oh sure, it's always part of the plan to go back and clean it up but as the CCR song says "Someday never comes".