I was flagged for 5 years. Supposedly, I matched the criteria for an international jewelry smuggler
Then all stopped and has been fine since. I always allowed lots of extra time between entrance and my next flight after missing a flight because of the extra attention.
And no, I wasn't smuggling jewelry.