Fix bug with numbers containing 0 in some places

Zeros were being parsed as nines and translated accordingly. Ignore all
zeros and use place information instead.