NOJIRA Rewrite ACL filter function for search results