Fixed bug that could have affected large texts