Fix reference count when storing an item.