avoid failing when search_ui is changed and old search is set on that field