Steps to reproduce:
- Make a statistics search
- Group by word and some variable that gives empty values, like name
- Click a cell with a count higher than 0 to open an example KWIC search
- Expected: Get the same number of hits
- Actual: No hits
Example: https://spraakbanken.gu.se/korp/#?search=word%7Cgod&corpus=attasidor&prefix&result_tab=2&stats_reduce=word,ne_name
When deselecting word from the group-by selector, there's an error instead: CQPError: Malformed input string passed to builtin ambiguity(i god tid). Maybe that's another bug.