Setting rate_limit resets_in to 0 if it goes negative

Fixes #504 

Setting rate limit resets_in to 0 if resets_at is in the past