Fix custom validations.