Fixes result search box not submitting