Fix handler causing advanced search tabs to break