bug fix in 'ValidValueValidator' in webapp/validator.coffee