fixing advanced search exclude and exclude hosts