This is a continuation of dicussion here: https://github.com/Palindrom/JSONPatcherProxy/pull/45#discussion_r311897775 ### Steps to reproduce See failing test here: 7cf32fd09593fef2751abc51114267e4a14f3897 The test extends an array with 5 elements to 9 elements with `undefined` or `null` values. ### Expected result Four `add` patches to add `null` elements. ### Actual result One `add` patch and one `replace` patch.