Unlike many yogurts, kefir contains a variety of yeasts as well as bacteria, doesn't it? Just speculating, but maybe some relatively benign yeasts are better at displacing pathogenic yeasts than bacteria are? Or maybe the complexity of the kefir ecology makes it more stable and more able to take on the worsers (ie the worser baddies).