Bugfix #152: Now works correctly the issues with attachments