Fix bug in initial host/service state