added filtering support for the task position