After editing the search, redirect to the right place. Fixes #59.