Fixed the text expression type evaluation