I think this needs to change based on the host_group_matchers_inheritance setting, and then search by name or by label.