Fix typo in task filtering