Module selects use "" for "none". Statistics helpers expect NULL, and a
grouping column that is numeric is a gradient rather than a nesting, which
the renders already treat as no grouping.
Details
Anything that is not a single, non-NA, non-empty value gives NULL: an
input that has not reported yet (NULL), NA, "" and a vector of more
than one value alike. A multi-select therefore reads as "no selection", so
handle those inputs explicitly.