v.22.9Bug Fix

Fix null pointer issue in categorialInformationValue aggregate function

The aggregate function categorialInformationValue was having incorrectly defined properties, which might cause a null pointer dereferencing at runtime. This closes #41443. #41449 (Alexey Milovidov).