Fix the number of tasks in queue in log.
Thanks Michael, closes lp:1145088.