By that logic we ought to expell married folks from the military since they represent a "potential" security risk, given the high percentage of those who are married that engage in adulterous affairs?
If these people kept their sexual preferences to themselves during their time in the military, and they performed their duties admirably, then I have no problem with them, in fact I offer them my thanks for choosing to put their lives on the line to defend my freedom.