Revert "Fix crash in dexsearch command"

This reverts commit f5528f30e6a34e033a33a0cd68867b605ca57151.