Fix unmanaged_hosts hostgroups being tagged invalid.

Umanaged hosts were getting their hostgroups tagged invalid due to
an oversight in the code that checks for valid hostgroups when building
out the services list.