I agree this is a flaw in the law and comes from Congress.
Putting some limits on preexisting conditions. Such as limiting coverage for say 3 years would encourage patients to buy insurance before they are seriously ill. This would help keep premiums affordable. And make insurance more attractive to those young healthy people we would like to buy insurance and help fund the whole program.