Fix bug with status code handling when `statusCodes` is `nil` for any response descriptor.