fix task linking for bulk exports
Merge pull request #5128 from dimagi/bulk-exports

fix task linking for bulk exports