Fixed reachability calculation for host checks.