Fixed bug where integers were not parsed correctly