Fixed a couple of wrong things in migrations.