fix for borked toggling of search results