Selecting task form instead of just id when deleting a task.