GetNextWorkRequestView: Don't disturb parent workflows
If we find that we need to retry some running work requests when getting the next pending work request for a worker, do so in a way that doesn't cause parent workflows to be incorrectly marked as completed.
Fixes: #1081 (closed)