Fix creating host with multiple groups