Allow inheritance when checking model class on a relation

I have polymorphic classes stored with ActiveNode.  Many nodes have more than one label.  To have relations that reference the superclass, I had to change query_proxy to accept anything that is_a?(@model)

Is there a better way to do this?