Fix code generator crash with arrays of accesses. Issue #79