[#30391] Fixes array not being initialized (Fix #898, #899)