[NEXUS-5491] Fix rendering of optional fieldset inside optional fieldsets

Data translation helper looked at deep nodes first and tried to
immediately expand fieldsets that were not rendered yet because the
containing fieldset was still collapsed.