Shift key stuck in software after login, reboot fixes this

I have a workaround which works and involves going to the login screen. Sometimes that is enough to fix. If that doesn't work, switch to the guest user and then log out. That always does it for me.