fix for collection adds when a primary key is involved