Fix "Clear All button doesn't work" issue.