Fix bug that prevents new tasks from creating new input fields.