Happened to me too. My backpack was confiscated as being too tall for carry-on, and my husband, who was behind me and had the exact same backpack, was let through, by the same attendant. It’s just hit or miss. But they let me take out stuff I wanted on the plane, like my electronics or snacks.