Fix conversions from Strings to Integers to actually output Integers

Should fix #26. I unfortunately cannot add a pull request to an issue someone else created.