Corrected task list behavior in the case when 'All tasks' menu item is selected.