Fixed a small getPlainText() bug from a few commits ago