Fix off-by-one error with task progress info log.