Fix potential bug where '' in searchterms.

Since only crazy people would pass in '', it should be ok
to simply forbid it.