Fix backwards varint reading