Properly reset deleted count when clearing HashTables.