Fixed error in migration.