Fix typo in previous charref fix