Updated GUIpref for AdvancedQuery