Fixes for task distribution between Session and Profile.
Fixes for task distribution between Session and Profile.