Fixed evaluation of response codes.