Fix ClassCastException if user set label expression.
Merge pull request #1 from lvotypko/label-expression

Fix ClassCastException if user set label expression.