Flaskr: Fixed validation on fields