Fix to the bulk search when logged in as a non admin

The search filter was broken and didn't return the expected result. Should
be fixed.