Set task index instead of task as URL.