We flew into Vancouver from China several years ago, & it was considered our port of entry into the U.S. Had to clear customs there & they misplaced a bag, which they even had a photograph of. By the time the bag was returned to customs for clearance, we were released to wait in a huge line with a just arrived cruise ship for our flight to DFW.
We now try to do all trips carry-on only.