handle unrecognized search types a little more gracefully on the front-end