Dynamically detecting filter