The condition should be "! exactMatchHosts.contains(s) "