Fix the handling of reverse time in the ratelimit code.