filter scanTasks part2