* Ensured that group ids are always passed as numeric value.
* Fixes fatal error when xprofile was disabled.
* Added filter to disable bp role override.