Logs for span in tempo passed incorrect span id

Hi,

I have trace_id and span_id in loki logs, and I can link traceid to tempo trace, but from trace of I click on the logs for span the span id passed to loki logs is not available entire loki logs. I even checked manually filter the spanid in loki logs and it didn’t work.

How do I pass spanid to logs when I click logs for span in tempo?