Add condition for empty status code.