This is correct behavior as the underlying table is auto-incrementing. The only way to "fix" this is to pre-allocate IDs, but if you have gaps in IDs (i.e. 3, 6, 7, 9), your gaps will be filled in during the migration.
There is nothing you can do to prevent this.