Fix deadline input for tasks.