now Search works on form submit as well