[WFCORE-253] / [WFCORE-264] Correct the String length validation to support expressions.