Fix minor crash when "/dexsearch all" is used