Correctly parse negative numbers