Minor edge-case fix for keymaps