Fixed a bug where updating embedded items sometimes had their properties overwritten improperly.