Correct order of deadline and interval arguments.