Clear search term after switching buffer