Fixes a type error for cases where an AN field is made up of all numbers
Merge pull request #1 from seandunn/fix_numeric_encoding_bug

Fixes a type error for cases where an AN field is made up of all numbers