Fixed GET_ATTACHMENTS return value (Reported by Bernie Purcell).