I guess you were unlucky, though funnily it’s always my wife who gets stopped at security and searched, very rarely me. Monday, my case went through, no prob, with my iPad inside. Next my wife. She had to remove iPad, everything searched, put back through screening then off we could go. Though I have never been told to stand back while this happens!