Doesn't matter, since some terrorists end up revealing themselves anyway, then the government tracks the links. You don't need to find terrorists by themselves in the data without anything else to go on.
Which means that they don't need to do broad sweeps of people to find the terrorists, they can use their algorithms on people who are already suspected, via some other means, of being a terrorist, and crucially, they can get a warrant to do so.