Fixed definition of `klass_info['from_parent']` so that two models aren't considered from a parent class if the model classes are the same.
Fixed definition of `klass_info['from_parent']` so that two models aren't considered from a parent class if the model classes are the same.