Fixed handling of increment and decrement when a non-numeric key is selected