Fixes bug with ArrayValue