Fixed a couple of validation errors.