Fix the indexs on the new database. More to come.