Bug fixes for conversions from integers to strings