Adds missing curly brackets around -1 superscript.