Fix check_public_workspace