Fixing bugs in tasks page.