That is the problem.
If you map row-> key then all your rows be under first statement.
When the second statements gets created, it tries to create the "Key" Segment as it's occurrence is set 1..unbounded but it fails
Just map a constant to the node "key" if you just have one key field.