How do I control body and attachment scanning in filters?