Fixed issue with .toString() being called on undefined text variable.
2.6.2