Filter tasks by their current status.