fix warning on deleteAll (dbadmin rebuildIndex)