fix hints box not to show up if there are no hints
Merge pull request #4166 from dmwm/hints_no_result_fix

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