Simple search form validation, fixes #6