Fix machine metric host range bug