Hi:
You aren't doing anything wrong -- you've run into an InfoPath limitation.
There is no out of the box way to copy repeating data from your secondary data source into your main data source (i.e., add another element, populate the values).
Your choices are to write custom code for it or you could try qRules (we've written the code already and make it easy to use).
Sorry to be the bearer of bad news....