Add reset_pk_sequence! calls to solve ID collisions.