Fixing bug with users groups being set to other users groups when visiting another users page