bug fix on empty problem search query