Fix delete button in taskjob. closes #1955