Fix Priority Management.
Merge pull request #4028 from HassenRiahi/FixPriorityManagement1

Fix Priority Management.