fix hints box not to show up if there are no hints

fixes tiny bug in PR #4154 , so the empty hints box would not be shown, if there are no results.

from:
![from](https://f.cloud.github.com/assets/213426/2234419/ff2bbf62-9b37-11e3-925b-1af4e58347bd.png)

to:
![into](https://f.cloud.github.com/assets/213426/2234421/05addde8-9b38-11e3-8399-8f32398e67cc.png)