If this is an older keyswitch-Ga,Gb style you may have a stuck keyswitch. Those are notorious for that. You make up multiple contacts when you activate the keyswitch and if they dont make up correctly it will cause issues.