so yes, nuclear is (almost?) the safest, but the direction of causality is the opposite.
it's safe because we made it safe, because the inherent nature basically necessitates is (because it's a form of energy generation that is a lot more efficient in big plants, and because fissile material requires a very careful handling compared to - for example - coal, and therefore the cost-benefit trade-offs of making NPPs very safe is basically a no-brainer up to a point)
the problem is that it's hard to find this inflection point where "more safety against acute problems" actually leads to more harm from "chronic problems", basically where we are reducing the meltdown events so low that we end up suffocating in fly ash from coal power plants. (not to mention the secondary effects of "killing" the nuclear industry.)
Everyone talks about Fukushima and the half a dozen cancer cases. Nobody talks about the ten thousand that died from other effects from the earthquake, nobody talks about the thousands that died that year to produce the same amount of output from coal
Same with airline security. I get my toothpaste check Kes out because of the “potential” of some deaths, yet nobody stopped me driving to the airport that morning, and driving actually kills thousands in the US alone every month.
Same goes for your airline security example. Car related accidents/attacks are unrelated to airplane accidents/attacks.