Correct node ordering when reading markup extensions.