Fix for TRQ-1528 - Invalid read when setting array slot failed.