fixed unpersisted rels and rels that reference the same class
Merge pull request #30 from kmussel/master

fixed unpersisted rels and rels that reference the same class