Ensure that 'lone' deferred tasks are processed properly.

Add 'deferred' tasks in the list the processing tasks, to ensure that
the 'has_work_to_do' calls return valid information.

Please see internal case 136069 for more details.