Fixed problem in saving previous revisions as attachments