Fix added in Symfony 2.3 copied for 2.0.21 for the Form Validator