Simply varint32 filter logic, this fixes a bug decoding protobuf messages.