fix issue for many-many relations
Merge pull request #3 from Quexer69/master

fix issue for many-many relations