Fixing indexes on old tables