Fix visitor isKnown method.