Fixed tag nesting.