Add filter tasks method