Don't display undefined handle in search widget

Before:
![](https://cloud.githubusercontent.com/assets/3798614/5219345/059490ea-7657-11e4-93bd-5cf5bc66ef14.png)

After:
![](https://cloud.githubusercontent.com/assets/3798614/5219352/0ebfc5b8-7657-11e4-8cdc-bfb0b8a0b4d8.png)