Fix rate limiter bug.
Merge pull request #244 from tbak/master

Fix rate limiter bug.