Changing field constraints to adapt app. to Symfony 2.3