fix for records being returned multiple times when with multiple associations;  just check if they already exist