Filter out empty hosts