#### Description
- A logs filter on a bare key that lives in **both** resource and
another context (body or scope) ANDed the two: the resource candidate
built the `__resource_filter` fingerprint CTE while the other candidate
landed as a required main-query term, so the query matched almost
nothing.
- `ResolveLogicalFields` only preferred resource over `attribute`.
Generalized it to prefer resource over **any** other context (attribute,
body, scope, …); other contexts stay reachable via their qualified names
(e.g. `body.service.name`).
#### Issues closed by this PR
ClosesSigNoz/engineering-pod#6086
Part of https://github.com/SigNoz/platform-pod/issues/3158
#### Additional Information
Generalized rather than special-casing body/scope, since any future
context would hit the same fingerprint-CTE trap.