Filter out invalid scalar arrays from combo box.

Fixes #16868.
1 job for filter_invalid_scalar_arrays