Fix previous response code validation.

Better checking.