My travelling partners and I used to have a rule...in order to avoid further search / questioning - always line up ahead or behind :
a) someone who appears to be from "another country"
b) an attractive woman.
Sadly, it worked all too well. On both sides of the border.