Fixed condition in confirmation validator for not string values