Description
Forum user ran into this issue:
https://forums.couchbase.com/t/using-n1ql-to-update-replace-an-array-element/10698/13
On further troubleshooting, it turns that for chained UPDATE FOR, if the nested dimensions (e.g. subsubcategories) are not present uniformly, the UPDATE is not performed.