Issue 4415 workflow assigned to drop down shows a console error

This pull request fixes #4415 and #4241