FYI, this was an apparent problem with the import. xf_poll had ids up to ~10200, but there were responses and votes in the database up to poll_id ~10900. I don't know how this happened, but I corrected the problem by deleting the offending responses and votes.