Fix for _instanceOf is base class (_parent is null)