Fix an error when rendering specialisation info