Fix migrate_iids for issues