issue #20154: Only delete relation parent data if array is nested.