Added support for avoid match class in relationships, intend to be used only with VersionedNode