Hostgroup add ancestors fix