Fixed rate limit check to look for integer status code instead of string.