Fix /dexsearch bug when searching for types