It's a nasty business, but in that scenario, the system worked by protecting society at large from an airplane as a missile scenario.
Security has different dimensions. The point of TSA security is to avoid situations where a hostile party can breach the cockpit or disable the plane in the air. All of the security theatre, random searches, etc are all there to make airliners a less attractive target and try to keep terrorism scoped.
Protecting your life as a passenger is a secondary priority, which is accomplished by the random placement of air marshals. Someone planning to fashion ad-hoc spears out of plastic utensils or whatever must account for the presence of a guy with a gun as well as passengers fighting back.