Fix up the search method.

Sheesh.