Improved the widget_title filtering