fix task linking for bulk exports

fixes http://manage.dimagi.com/default.asp?151106