[bug 1038211] Optimize legacy vouches /admin filter.
Merge pull request #1051 from glogiotatidis/query

[bug 1038211] Optimize legacy vouches /admin filter.