If I understand this patch correctly it starts the Relation from the `base_class`. Won't this introduce other problems? For example if you have inheritance but store models in different tables?