fix for host-hostgroup relation on name change