Upsert with multiple UIDs

I just noticed that there was more information in the exception that was thrown. It stated:

io.grpc.StatusRuntimeException: UNKNOWN: while parsing query: . . . Some variables are defined but not used
Defined:[optionUid productUid productsUid]
Used:[optionUid]

Why would it be saying that only optionUid was used? That seems odd to me.
I wonder if @amanmangal would have more ideas about this because he’s one of the Java client maintainers.