Fix error that prevents anything but single-digit numbers from being used.