Fix for multiple sub and superscripts.