They don't completely contradict each other. He's pointing out what he considers two examples of an unreasonable search, one is about racial profiling the other is about what he seems to consider common sense.
The only way that you remove the profiling, incidentally, is to remove discretion from agents and/or have some level of accountability for each stop. If they had to publish statistics detailing the profiles of everyone who went through additional security searches and why it was done I think you'd see a lot of action
sounds like a contradiction to me.