fix a name not defined error in unregister_combo

The function always failed when called with a string, since `keys` on line 809 was a ReferenceError.