It's probably not a bad thing to have laws against abandoning dangerous materials - but like the article states there should be provisions relating to the intent of the accused and the actual danger to the community, not simply a vague set of circumstances that someone might fall into.