Improve filtering issues by label performance
Things to pay attention
A portion of code that filter labels by id got removed. I don't see a reason to have it
since we are skipping authorizations for projects and labels table is already joined in the query being filtered by name.
check: !16136 (diffs)
All queries: before.pdf
All queries: after.pdf