Fix 'blank' buttons in advanced search