A lot of would-be terrorists are stupid or incompetent, and that's good. Sometimes, it thwarts their plans; it at least makes them easier to catch afterward.
The recent bombing attempt at Times Square is an example. The Oklahoma City bombing utilized barrels of ANFO -- ammonium nitrate mixed with fuel oil. It's a powerful explosive commonly used in mining. Ammonium nitrate is also used as fertilizer. The Times Square bomber used fertilizer -- but it was the wrong kind.
Also, it was inside a metal gun locker, not mixed with fuel oil, and not exposed to the firecrackers and fuel canisters he also used.