Re #276: Only change public/private status on attachments if contribution publication status changed.