[cvs-nhc98] Fix subtle bug which caused some equations to display as p