fix bug removing custom validations during key removal