Added logic to gracefully handle attempts to remove last WorkspacePermission in Sub or ProjectPermission in Workspace