[BUGFIX] Add type casting for incoming user group