Issue #3011826 by nedjo, mirsoft: Changed value for an indexed array item leads to duplication of item