Fix to check_superuser