Make cached group checks work when the user is the member of a single group