Fix bug where multiplicity strings were rendered incorrectly.