Many to many relation fix
Merge pull request #1 from drymek/relations

Many to many relation fix