diff --git a/app/lib/dal/fileDAL.ts b/app/lib/dal/fileDAL.ts
index 3e2068b97158ebf91d5f0081b71e1b802c76d99b..ff7fbc21d27ebbe65026b0c16918efe9b58ce58f 100644
--- a/app/lib/dal/fileDAL.ts
+++ b/app/lib/dal/fileDAL.ts
@@ -110,13 +110,6 @@ export class FileDAL {
     }
     logger.debug("Upgrade database...");
     await this.metaDAL.upgradeDatabase(conf);
-    const latestMember = await this.iindexDAL.getLatestMember();
-    if (latestMember && this.wotb.getWoTSize() > latestMember.wotb_id + 1) {
-      logger.warn('Maintenance: cleaning wotb...');
-      while (this.wotb.getWoTSize() > latestMember.wotb_id + 1) {
-        this.wotb.removeNode();
-      }
-    }
     // Update the maximum certifications count a member can issue into the C++ addon
     const currencyParams = await this.getParameters();
     if (currencyParams && currencyParams.sigStock !== undefined && currencyParams.sigStock !== null) {
diff --git a/app/lib/dal/sqliteDAL/index/IIndexDAL.ts b/app/lib/dal/sqliteDAL/index/IIndexDAL.ts
index 813e34f67dada2d35f8591882ae30a219ac916a6..7d9c9ae8c10357d52734fbe375ce86aaa898d499 100644
--- a/app/lib/dal/sqliteDAL/index/IIndexDAL.ts
+++ b/app/lib/dal/sqliteDAL/index/IIndexDAL.ts
@@ -89,12 +89,6 @@ export class IIndexDAL extends AbstractIndex<IindexEntry> {
       ')')
   }
 
-  async getLatestMember() {
-    const res:any = (await this.query('SELECT MAX(wotb_id) as max_wotb_id FROM ' + this.table))[0]
-    const max_wotb_id = res.max_wotb_id
-    return this.entityOrNull('wotb_id', max_wotb_id)
-  }
-
   async getToBeKickedPubkeys() {
     // All those who has been subject to, or who are currently subject to kicking. Make one result per pubkey.
     const reducables = Indexer.DUP_HELPERS.reduceBy(await this.sqlFind({ kick: true }), ['pub']);