Fix: missing negation in is_instance_of()