fix handling of digits chars in alpha buckets

Characters were search in string.ascii_lowercase that does not contain
digits chars.