- Place the cursor just to the right of the black box in any example of the affected heading.
- Hit ← (left arrow) and the black box should turn gray.
- Type Ctrl+Shift+S to bring up a style popup.
- Click Reapply.
This has worked every time I've had this problem.