Making "emptiness" check of hostFilter more clear