CSPACE-5828: Better handle advanced search queries consisting of a single asterisk char.