Finalized the repair procedure for the existing tables.