Fix Autofilter duplicates

.. dodgy logic when clearing state on refresh of the menu
   after config change caused tree widgets to be duplicated
   every time config was saved.