Merge "Fix Settings crash for global user restrictions." into main