Fix many search movement bugs