Don't try to add emphasis to highlights before they are created. Fixes #921.