Hi Mar,
Probably the optional section is not below the row group in the data source. Or, the row object doesn't support indirection to second level or the xpath is just wrong. Check your xpath.
Patrick Halstead [InfoPath MVP]
InfoPathDev
Patrick Halstead
Project Manager at Qdabra