Issue #2909952 by edwardaa: Flood MemoryBackend::isAllowed() throws exception: 'Undefined index: xxx' (cherry picked from commit 4e2d3ba4)