Fix creation of nested Hostgroups