Change search box update logic; fixes #7