Fix pages migrations.