Fix hotkey if/elif branching