#89 Updated migrator to fix ids