Merge "Fix crash when pausing work profile." into main