OH.  Never mind, sorry, I didn't understand what was going on.  new_items is an array of different foreign keys, not an array of columns for the same foreign key.  All I did was add an unnecessary level of set-ing.