Use issubclass(), not isinstance(), for matching in Collector

This makes the implementation the same as suppress().