Fix duplicates in polymorphic association collection

This screen demonstrate problem, which fix this PR
![Problem](http://i.snag.gy/hy5oe.jpg)