Fix for #1005: RESTAdapter incorrectly marking records as error on 422, instead of invalid