In the flush() method, if no keys matched the pattern, the callback was ...

...never being called.