Fixed deletion of lingering hosts to

only run on appropriate servers, previous command
was innefective.

@alperkokmen (Owen is PTO for a while, if you don't mind a quick look at this. See RI-185 for context).