Fix validation errors not being passed on correctly.