[webui] fix error flash with empty search string