Fix Session::has with dot notation.