return indexes defined on all classes that are descendants of the passed in element class. this makes indexes defined on custom OClasses that extend OrientVertex and OrientEdge accessible. 

...in element class instead of exactly equal. makes indexes defined on custom types that extend the vertext (V) and edge (E) base classes accessible.