getGroupsPure() for BPermissions rewrite to be threadsafe. Fixes #92