Fix buglet in /api/0/message/unattach/