Fixed bug in searchHandle.

Grrr.