Fixed VarInt reading

There as a small bug