fixes #4691 - add search for hosts' managed status