Fix a typo where 1 search result in host would result in a stack trace
Merge branch 'bugfix' into webserviceapi