fixed redirect to activity view, when called from work_detail report.