Fix some bugs with nested emphasis.