Bugfix for supporting numbers as keys.