Fixes #1669: CNumberValidator used to add wrong error messages in case non-numeric values being validated.
Merge pull request #2286 from resurtm/fixes-1669-CNumberValidator

Fixes #1669: CNumberValidator used to add wrong error messages in case non-numeric values being validated.