Corrects shift key validation