Fix conversion format - set null for primary key (avoid duplication)