Fix #131 Attachment links are not working as expected