Fixes #9932 - fix preallocate attribute mapping
(cherry picked from commit 545716c40c34acca04113642fd934af5ae1e8032)
Fixes #9932 - fix preallocate attribute mapping
(cherry picked from commit 545716c40c34acca04113642fd934af5ae1e8032)