I am investigating some memory leaks. Was using heap_dump and ran into an error. This fixes it.

Causes a return of nil if the key is nil
(makes it work again, I honestly have next to no idea why)