Fixed an error in the in-memory limiter with kwargs