Fix client lookup query

I noticed that the JOIN condition was incorrect.

Merge request reports

Loading