Fix search view crash.

That was hellish. One little typo, and the debugger is totally useless.