restored ordering for update queries when shifting nested sets