fix(search): correct sub searches (refs #4526)