Fixed downgrade migration issue