fix Issue 13701 - Associative array values ignore immutability