migrations fixed, now indices are correct