Fixed an infinite loop caused by going past level 9 in numbers mode.