Prevent inifinite loop for symmetric associations 

Fix for #62.