Fix "show attachments" command probably broken in commit addab12 (Wed Jan 2 21:38:00 2013)

This break was not connected with the recent attachment code changes.