whats the usage here? why would we have hosts with no hostgroup_id ? or rather we want to look for discovered hosts?