If this last bit is reached, it means the user passed a non-group object, eg: Account, Client, or something. That's why I explicitly wrote 'Group'.