[BUGFIX] Update tstamp on writeForeignField if any foreign value has changed. (IRRE)