fixes #4048 Bad SQL error for non existence content on workflow tasks
Merge pull request #4055 from dotCMS/issue-4048-Bad-SQL-error-for-non-existence-content-on-workflow-tasks

fixes #4048 Bad SQL error for non existence content on workflow tasks