Fixed wrong md5 in /browse page.

The browser page shows the md5 of the wrong sample. The view_sample function uses task_id to fetch the corresponding sample instead of sample_id.