I have a site workflow that has a for each loop in it. The loop looks in a list and checks to see if it should create a document in a library for the list item. It used to work well but since we upgraded to SharePoint 2013 when it runs, it quits after 4 loops. We must restart it ever 4 iterations. Any idea why this would happen?