Element styles are not reset when use custom highlight methods

When use a custom highlight functions which for example place the error class in a different element (like Bootstrap form-group wrapper) this element is not unhighlighted after resetForm.