Fixed an exception occuring when we press a key out of our range.