Fixed bug where two identical adjacent letters would be removed from texts