```scala
  val otherNodeLocations = matchPreferredHosts.filter { s => exactMatchHosts.contains(s) }
```