Added the ability to query on an entity class which subclasses another entity. (refs ERRAI-645)