fix bug for Class.isA(), when subclass is same to super