Fix some validations.