fixed an issue where sometimes digits weren't correct when a single digit value was entered (as opposed to a range)