Probably a random check. The FAA has mandated security sweeps on planes on a random basis. I don't know the criteria for selection, but there's no notice.
I took it to mean that all of the ticketed passengers couldn't be boarded in time for the scheduled take off time.
You don't suppose one of the security personnel could actually be. . .???