In the case you have above the installer wasn't reading his foam. They must be trained to do that as they spray. Temps and conditions are constantly changing thru out the day. Either he wasn't properly trained or if he was,he wasn't doing his job! This is a serious problem with people jumping in to the foam business. A lot of homeowners and builders are looking the best price and end up with someone who doesn't know what they are doing. Hope this info helps. Foam insulation is a great product. It just has to be done right by someone who knows what they are doing.
Spray polyurethane foam (SPF) is a spray-applied plastic that is widely used to insulate buildings and seal cracks and gaps, making the building more energy-efficient and comfortable. SPF insulation is known to resist heat transfer extremely well, and it offers a highly effective solution in reducing unwanted air infiltration through cracks, seams, and joints.
If you're chemically sensitive, it's probably not a good idea to get it installed, but it's also not a good idea to breathe musty air from the crawl space either. In addition, your house and its contents are made of lots of materials that affect your indoor air quality. If you're really concerned about this, hire a company to test your air and tell you what you can do about it. http://y2u.be/ggLAUsiuI_o