ensure host_id is an integer

Issue DE106