fix some links on admin messages page

Some links on the sent messages page caused a crash when trying to view as an admin.