It feels like we don't need to worry about this case. It would only happen if `x` in `from(y in x)` is a query at compilation time which is unlikely (not worthy the effort).