Fix undefined method where for Array error in migration.