Bugfix on search form button

Signed-off-by: Luke Oatham <lukeoatham@gmail.com>