Fixes global search reset so that it works even right after selecting a filter.