Filtering out non routing key matching hosts, applied to all code cases