SetForceCompactMode() now also handles case of a single tag inside another correctly.