Bug #970600 - tasks: allow filtering tasks by state/status.