Fix filtering groups on Anonymous user access (#321).