The `$map()` function does not remove empty elements. This is inconsistent with other multi-value variable processing.