Fixes bugs in 2.0.2 migration.