Fix copy & paste error where group should have been user. Also fix
assuming users and groups aren't null so that utf-8 errors don't occur.