Porting json-edit patch: Restrict selector to query for direct children when adding to or clearing an array property. Fixes a bug where adding to an array would append the object to a nested array, rather than at the desired level.