Fixing bug related to #2701

We cannot use swap on the section_names.  Hierarchical sections must currently be parsed in order!