Filtering of terms in the widget.