Fixed an issue with the migrations.