fix duplicates in polymorphic association collection