Fixes table name to be able to drop the old index