Fixed the check for rate limit. (v3.6.8)