Make sure `0` in string doesn't mess up loop.