Fix unserializing of attribute values.
Fix sending comments if attachments are linked.