fixes #5537
Merge pull request #5550 from dotCMS/issue-5537-reassign-workflow-not-changing-role

fixes #5537