ElementHelper.areEquals should not compare classes

Vertex and TinkerVertex might represent the same thing, therefor we shouldn't be comparing the classes, and instead rely on the equals implementation of the elements.