Fixed handling of Texts that are directly contained in
FragmentContainers instead of TextContainers (e.g., plain text that
starts right after a section heading)